<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Include/nrf_nvmc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>



<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF Gazell
   &#160;<span id="projectnumber">version 0.4.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('nrf__nvmc_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Include/nrf_nvmc.h</div>  </div>
</div>
<div class="contents">
<a href="nrf__nvmc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * The information contained herein is confidential property of Nordic </span>
<a name="l00004"></a>00004 <span class="comment"> * Semiconductor ASA.Terms and conditions of usage are described in detail </span>
<a name="l00005"></a>00005 <span class="comment"> * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. </span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Licensees are granted free, non-transferable use of the information. NO</span>
<a name="l00008"></a>00008 <span class="comment"> * WARRANTY of ANY KIND is provided. This heading must NOT be removed from</span>
<a name="l00009"></a>00009 <span class="comment"> * the file.</span>
<a name="l00010"></a>00010 <span class="comment"> *              </span>
<a name="l00011"></a>00011 <span class="comment"> * $LastChangedRevision: 13999 $</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef NRF_NVMC_H__</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define NRF_NVMC_H__</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 
<a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga07aef6466b9037e239680f44c1d066f5" title="Power on NVMC peripheral.">nrf_nvmc_poweron</a>(<span class="keywordtype">void</span>);
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 
<a name="l00046"></a>00046 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga17ee5578d650224c6383cdb4190d6b57" title="Power off NVMC peripheral.">nrf_nvmc_poweroff</a>(<span class="keywordtype">void</span>);
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga8cf428dbb2a28a342c3b57cc07869d9d" title="Erase a page in flash. This is required before writing to any address in the page.">nrf_nvmc_page_erase</a>(uint32_t address);
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 
<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga008c6a4096bda07d67f33294af00ad9b" title="Write a single byte to flash.">nrf_nvmc_write_byte</a>(uint32_t address , uint8_t value);
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga1347c44095f9486554be7c3d62737925" title="Write a 32-bit word to flash.">nrf_nvmc_write_word</a>(uint32_t address, uint32_t value);
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 
<a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga7d566edd65fdc5655ce7be3cd17faba0" title="Write consecutive bytes to flash.">nrf_nvmc_write_bytes</a>(uint32_t  address, <span class="keyword">const</span> uint8_t * src, uint32_t num_bytes);
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 
<a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="group__nrf__nvmc.html#ga9ac0536be3127139fb91992e1c5b46c4" title="Write consecutive words to flash.">nrf_nvmc_write_words</a>(uint32_t address, <span class="keyword">const</span> uint32_t * src, uint32_t num_words);
<a name="l00096"></a>00096 
<a name="l00097"></a>00097 
<a name="l00098"></a>00098 <span class="preprocessor">#endif // NRF_NVMC_H__</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="nrf__nvmc_8h.html">nrf_nvmc.h</a>      </li>

    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
